package cn.wolfcode.crm.query;

import cn.wolfcode.crm.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

/**
 * 礼品高级查询参数对象
 *
 * @author mist
 */
@Setter
@Getter
public class ExchangeGiftQueryObject extends QueryObject {
    private String sort;
    private String order;
    private String keyword;

    public String getSort() {
        return StringUtils.isEmpty(sort) ? null : sort;
    }

    public String getOrder() {
        return StringUtils.isEmpty(order) ? "" : order;
    }

    public String getKeyword() {
        return com.alibaba.druid.util.StringUtils.isEmpty(keyword) ? null : keyword;
    }
}
